package com.glodon.ggzy.fwpt.service;

import javax.servlet.http.HttpServletRequest;

import com.glodon.ggzy.core.model.Page;
import com.glodon.ggzy.core.utils.PageSearchModel;
import com.glodon.ggzy.entity.GgTdLaw;
import com.glodon.ggzy.entity.GgZfBulletin;
import com.glodon.ggzy.entity.GgZfLaw;

/**
 * 
 * 政府采购处理Service接口
 * @author yangjf
 * @date 2013/06/11
 */
public interface IZfcgProjectService {

	/**
	 * 查询--分页
	 * @param queryModel
	 * @return
	 */
	public Page queryPage(PageSearchModel queryModel);

	/**
	 * 获取我的采购单分页数据
	 * @param queryModel
	 * @return
	 */
	public Page queryBuyregPage(PageSearchModel queryModel, String noOrName, HttpServletRequest request);

	/**
	 * @param queryModel
	 * @param type
	 * @param noOrName
	 * @return
	 */
	public Page queryContractPage(PageSearchModel queryModel, String type, String noOrName, HttpServletRequest request);

	/**
	 * 获取订单数据--分页
	 * @param queryModel
	 * @param noOrName
	 * @param isCgr
	 * @param request
	 * @return
	 */
	public Page queryOrderPage(PageSearchModel queryModel, String noOrName, Boolean isCgr, HttpServletRequest request);

	/**
	 * 
	 * 查询政府采购招标公告
	 * @param queryModel
	 * @param name
	 * @return
	 */
	public Page queryZfcgTenderNotice(PageSearchModel queryModel, String name, String type);

	/**
	 * 
	 * 根据ID获取实体类
	 * @param id
	 * @return
	 */
	public GgZfBulletin getGgZfBulletinById(String id);

	/**
	 * 
	 * 获取采购人成功交易笔数
	 * @return
	 */
	public String getCgrSuccessTransNumber(HttpServletRequest request);

	/**
	 * 
	 * 获取采购人合同金额达总数
	 * @return
	 */
	public String getCgrContractAmountNumber(HttpServletRequest request);

	/**
	 * 
	 * 获取供应商成功交易笔数
	 * @return
	 */
	public String getGysSuccessTransNumber(HttpServletRequest request);

	/**
	 * 
	 * 获取供应商合同金额达总数
	 * @return
	 */
	public String getGysContractAmountNumber(HttpServletRequest request);

	/**
	 * 查询政府采购法律法规
	 * @param queryModel
	 * @param lawName
	 * @return
	 */
	public Page queryZfcgLaw(PageSearchModel queryModel, String lawName);
	
	public GgZfLaw getGgZfLawById(String id) ;
}
